const shake = (one, time) => {
    let timer = 0
    return function() {
        clearTimeout(timer)
        setTimeout(() => {
            one.call(this, ...arguments)
        }, time)
    }
}
export default shake